The HDF_SD_DIMGET procedure retrieves information about an SD dataset dimension.
HDF_SD_DIMGET, Dim_ID [, /COUNT] [, COMPATIBILITY=variable] [, /FORMAT] [, /LABEL] [, /NAME] [, /NATTR] [, /SCALE] [, /TYPE] [, /UNIT]
A dimension ID as returned by HDF_SD _DIMGETID.
Set this keyword to return the dimension size.
Set this keyword to a named variable that will contain a string indicating the dimensional compatibility of the current dimension. Possible values are “BW_COMP” (backwards compatible), “BW_INCOMP” (backwards incompatible), or “FAIL” (the information is unavailable). For further information about dimensional compatibilities, see the HDF User’s Guide, and the BW_INCOMP keyword of HDF_SD_DIMSET. By default, IDL writes HDF files in “BW_COMP” mode.
Set this keyword to return the dimension format description string.
Set this keyword to return the dimension label description string.
Set this keyword to return the dimension name.
Set this keyword to return the number of attributes for the dimension.
Set this keyword to return the scale of the dimension.
Set this keyword to return a string describing the data’s type (i.e., ‘BYTE’).
Set this keyword to return the dimension unit description string.
For an example using this routine, see the example for HDF_SD_DIMSET.
4.0 |
Introduced |
HDF_SD_CREATE, HDF_SD_DIMGETID, HDF_SD_DIMSET, HDF_SD_SELECT